<%@ Page Title="CustomerAddress Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<GoldenBicycleCompany.Core.CustomerAddress>" %>
<%@ Import Namespace="GoldenBicycleCompany.Web.Controllers" %>

<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <h1>CustomerAddress Details</h1>

    <ul>
		<li>
			<label for="CustomerAddress_Customer">Customer:</label>
            <span id="CustomerAddress_Customer"><%= Server.HtmlEncode(ViewData.Model.Customer.ToString()) %></span>
		</li>
		<li>
			<label for="CustomerAddress_Address1">Address1:</label>
            <span id="CustomerAddress_Address1"><%= Server.HtmlEncode(ViewData.Model.Address1.ToString()) %></span>
		</li>
		<li>
			<label for="CustomerAddress_Address2">Address2:</label>
            <span id="CustomerAddress_Address2"><%= Server.HtmlEncode(ViewData.Model.Address2.ToString()) %></span>
		</li>
		<li>
			<label for="CustomerAddress_City">City:</label>
            <span id="CustomerAddress_City"><%= Server.HtmlEncode(ViewData.Model.City.ToString()) %></span>
		</li>
		<li>
			<label for="CustomerAddress_State">State:</label>
            <span id="CustomerAddress_State"><%= Server.HtmlEncode(ViewData.Model.State.ToString()) %></span>
		</li>
		<li>
			<label for="CustomerAddress_ZipCode">ZipCode:</label>
            <span id="CustomerAddress_ZipCode"><%= Server.HtmlEncode(ViewData.Model.ZipCode.ToString()) %></span>
		</li>
	    <li class="buttons">
            <%= Html.Button("btnBack", "Back", HtmlButtonType.Button, 
                "window.location.href = '" + Html.BuildUrlFromExpressionForAreas<CustomerAddressesController>(c => c.Index()) + "';") %>
        </li>
	</ul>

</asp:Content>
